package com.yn.club.subject.application.convert;


import java.util.List;
import com.yn.club.subject.domain.entity.SubjectLikedDO;
import com.yn.club.subject.application.dto.SubjectLikedDTO;
import com.yn.club.subject.application.request.SubjectLikedSaveRequest;
import com.yn.club.subject.application.request.SubjectLikedQueryRequest;
import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * 题目点赞表(SubjectLiked)DTO和DO转换
 *
 * @author YN
 * @since 2025-01-21 17:40:47
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface SubjectLikedApplicationConverter {

  SubjectLikedDTO convertDoToDto(SubjectLikedDO ojb);
  
  List<SubjectLikedDTO> convertDoToDto(List<SubjectLikedDO> ojbs);
  
  SubjectLikedDO convertDtoToDo(SubjectLikedDTO ojb);
  
  List<SubjectLikedDO> convertDtoToDo(List<SubjectLikedDTO> ojbs);
  
  SubjectLikedDO convertSaveRequestToDo(SubjectLikedSaveRequest ojb);
  
  SubjectLikedDO convertQueryRequestToDo(SubjectLikedQueryRequest ojb);
  
  
}

